package com.example.personalfoodadmin;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class MainMenue extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_menue);
    }
    
    public void editskill(final View view)
    {
    	
    	Intent i = new Intent(this, EditSkillActivity.class);
    	startActivity(i);
    	
    }
    
    public void getShopping(final View view)
    {
    	Intent i = new Intent(this, StocklistActivity.class);
    	startActivity(i);
    	
    }
    public void stocklist(final View view)
    {
    	Intent i = new Intent(this, EditStocklist.class);
    	startActivity(i);
    	
    }


    
    

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main_menue, menu);
        return true;
    }
    
}
